home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / DirectShow / Players / JukeboxASF / readme.txt < prev    next >
Encoding:
Text File  |  2001-10-10  |  3.0 KB  |  64 lines

  1. DirectShow Sample -- JukeboxASF
  2. -------------------------------
  3.  
  4. Description
  5.  
  6. Video jukebox application designed to play Windows Media files (ASF,WMA,WMV)
  7. that are not protected by Digital Rights Management (DRM).
  8.  
  9. -----------------------------------------------------------------------------------
  10. NOTE: To build this sample, you must install the Microsoft Windows Media Format SDK 
  11. and obtain a software certificate.  After you obtain the software certificate, 
  12. build the sample by linking two additional libraries: 
  13.         WMStub.lib and WMVCore.lib.
  14. -----------------------------------------------------------------------------------
  15.  
  16.  
  17. This application scans a directory for media files and displays a list of the 
  18. relevant file names.  The user can play an individual file or play all of the 
  19. media files in order.  The jukebox also displays information about the filter 
  20. graphs that it creates, including the names of the filters, the names of their
  21. corresponding pins, and the event codes that are generated.
  22.  
  23. Note:  This sample requires Microsoft Foundation Class Library 4.2 (Mfc42.dll).
  24.  
  25. Note: In order to launch GraphEdit to view the currently selected file, the GraphEdt.exe
  26. utility must exist in a directory on your search path (like c:\windows or c:\winnt).
  27.  
  28.  
  29. User's Guide
  30.  
  31. If a directory name is specified as a command-line argument, the jukebox scans 
  32. that directory at startup.  Otherwise, it scans the default SDK media directory, 
  33. which is located at Samples\Multimedia\Media under the SDK root directory.  
  34. The jukebox displays a list of all the media files in the directory, from which 
  35. the user can select a file to play.
  36.  
  37. When you select a video file from the files list, Jukebox will display its
  38. first video frame in the "Video Screen" window.  If you select an audio-only
  39. file, the video screen will be painted gray.
  40.  
  41. The jukebox offers the following user-interface elements:
  42.  
  43. Play, Stop, Pause, and FrameStep buttons: Use these buttons to control graph
  44.     playback.  (The FrameStep button might be disabled, if the graph does not
  45.     support the IVideoFrameStep interface.) 
  46.  
  47. Thru and Loop buttons: Click the Thru button to play through the entire file list, 
  48.     starting from the current selection.  Click the Loop button to loop the same 
  49.     file repeatedly.  These two buttons are mutually exclusive. 
  50.  
  51. Mute button: Mutes the audio. 
  52.  
  53. Filters, Input Pins, and Output Pins: When the jukebox creates a graph, 
  54.     it displays a list of the filters in the graph.  If the user selects one 
  55.     of the filter names, the jukebox displays a list of the filter's input pins 
  56.     and a list of the filter's output pins. 
  57.  
  58. Display Events: If this box is checked, the jukebox displays the event codes 
  59.     that it receives.  To clear the list, click the Clear button. 
  60.  
  61. Properties button: To view a filter's property pages, select the filter name 
  62.     and click the Properties button.  If the filter does not support 
  63.     a property page, the button is disabled. 
  64.